服装厂并行仿真中同步问题的解决方法

ACM-SE 28 Pub Date : 1990-04-01 DOI:10.1145/98949.99143
P. Khambekar, S. Dharmaraj
{"title":"服装厂并行仿真中同步问题的解决方法","authors":"P. Khambekar, S. Dharmaraj","doi":"10.1145/98949.99143","DOIUrl":null,"url":null,"abstract":"A near-term computer simulation of an apparel in­ dustry shop-floor is an application of interest. The complexity and the natural parallelism of the applica­ tion suggest a parallel implementation. Parallelizing a simulation causes synchronization problems. These problems are analyzed, various solutions presented and short-comings or inapplicability to the application de­ scribed. A method which is an adaptation of a previ­ ously published method is then presented. This con­ servative method produces an accurate simulation. I n tr o d u c t io n Clemson University is currently developing a nearterm computer simulation of an apparel factory floor. Given inputs of employee assignments, arrival of new bundles of garment parts, priorities of bundles, etc. (i.e. a tentative plan), the flow of bundles being sewn during the course of a day is simulated and high-level performance information in the form of graphics is dis­ played to the plant manager (the user). The manager should be able to run the simulation, evaluate the per­ formance metrics and in case they are not satisfactory, roll-back the simulation to a specified point in time and rerun the simulation with a new plan all in a matter of minutes. This simulation will provide a valuable tool for achieving Just-In-Time manufacturing. In a typical plant, there are hundreds of ma­ chines, hundreds of employees and thousands of bun­ dles containing garment parts. The complexity of the application, large input data, large number of metrics, quick simulation requirement and natural parallelism of the application strongly suggest performing the sim­ ulation in parallel. Unfortunately, in a general-purpose parallel simulation two synchronization problems may occur: deadlock and no-progress. This paper describes the methods planned to address these problems. Peniiinnlon lo copy wllliout fee all or part of this material la granted provided that the copiea are not made or distributed for direct com­ mercial advantage, the ACM copyright notice and the title of llie publication and Its dale appear, and notice ia given that copying ja by pcmtlsaion of llie Association for Computing Machinery. To copy otherwise, or to republish, requires a fee and/or specific per­ mission. Section 2 describes the apparel manufacturing environment. The parallelization of the application is described in Section 3. Section 4 describes the syn­ chronization problems posed by the parallel simula­ tion. A survey of the methods given in the literature to solve the problems is provided in Section 5. The method chosen for this implementation is described in Section 6. T h e A p p a r e l F a c to r y S h o p -F lo o r On the factory floor bundles of garment parts are pro­ cessed according to a style flow graph, an example of which is given in Figure 1. Rectangles in the figure represent buffers which have work waiting for oper­ ations to be performed. Examples of operations are \"set pocket” and \"attach buttons”. There is a one-toone correspondence between buffers and the type of operation to be performed. Employees at sewing ma­ chines draw bundles from an assigned buffer, process them and send them to the next buffer in the style flow graph. An employee-machine combination, repre­ sented by a circle in the figure, is called a workstation. In general there may be more than one workstation in front of any given buffer as shown in Figure 2. In the style flow graph, different subparts such as the fronts and the backs of shirts need to merge at certain points. Such a merge is called an and-merge because further progress of the bundle depends on the availability of all the necessary subparts. Figure 3 is another example of a style flow graph. Bundles from a single buffer can be processed in alternate ways (called alternate paths). The output from these paths goes into a common buffer and continues on. This par­ ticular type of merge is called an or-inerge because a bundle from any of the paths can continue as soon as it appears in the buffer. As can be seen in Figure 2, after bundles from a buffer are processed on alternate workstations there is a “merge” into the next buffer. Such a “merge” is also an or-merge. In general there are many different products or styles being produced simultaneously on the factory floor. Various styles can share buffers. This is called “style intersection”. A style intersection also corre­ sponds to an or-merge.","PeriodicalId":409883,"journal":{"name":"ACM-SE 28","volume":"143 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1990-04-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":"{\"title\":\"Approaches to solving synchronization problems in parallel simulation of an apparel plant\",\"authors\":\"P. Khambekar, S. Dharmaraj\",\"doi\":\"10.1145/98949.99143\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"A near-term computer simulation of an apparel in­ dustry shop-floor is an application of interest. The complexity and the natural parallelism of the applica­ tion suggest a parallel implementation. Parallelizing a simulation causes synchronization problems. These problems are analyzed, various solutions presented and short-comings or inapplicability to the application de­ scribed. A method which is an adaptation of a previ­ ously published method is then presented. This con­ servative method produces an accurate simulation. I n tr o d u c t io n Clemson University is currently developing a nearterm computer simulation of an apparel factory floor. Given inputs of employee assignments, arrival of new bundles of garment parts, priorities of bundles, etc. (i.e. a tentative plan), the flow of bundles being sewn during the course of a day is simulated and high-level performance information in the form of graphics is dis­ played to the plant manager (the user). The manager should be able to run the simulation, evaluate the per­ formance metrics and in case they are not satisfactory, roll-back the simulation to a specified point in time and rerun the simulation with a new plan all in a matter of minutes. This simulation will provide a valuable tool for achieving Just-In-Time manufacturing. In a typical plant, there are hundreds of ma­ chines, hundreds of employees and thousands of bun­ dles containing garment parts. The complexity of the application, large input data, large number of metrics, quick simulation requirement and natural parallelism of the application strongly suggest performing the sim­ ulation in parallel. Unfortunately, in a general-purpose parallel simulation two synchronization problems may occur: deadlock and no-progress. This paper describes the methods planned to address these problems. Peniiinnlon lo copy wllliout fee all or part of this material la granted provided that the copiea are not made or distributed for direct com­ mercial advantage, the ACM copyright notice and the title of llie publication and Its dale appear, and notice ia given that copying ja by pcmtlsaion of llie Association for Computing Machinery. To copy otherwise, or to republish, requires a fee and/or specific per­ mission. Section 2 describes the apparel manufacturing environment. The parallelization of the application is described in Section 3. Section 4 describes the syn­ chronization problems posed by the parallel simula­ tion. A survey of the methods given in the literature to solve the problems is provided in Section 5. The method chosen for this implementation is described in Section 6. T h e A p p a r e l F a c to r y S h o p -F lo o r On the factory floor bundles of garment parts are pro­ cessed according to a style flow graph, an example of which is given in Figure 1. Rectangles in the figure represent buffers which have work waiting for oper­ ations to be performed. Examples of operations are \\\"set pocket” and \\\"attach buttons”. There is a one-toone correspondence between buffers and the type of operation to be performed. Employees at sewing ma­ chines draw bundles from an assigned buffer, process them and send them to the next buffer in the style flow graph. An employee-machine combination, repre­ sented by a circle in the figure, is called a workstation. In general there may be more than one workstation in front of any given buffer as shown in Figure 2. In the style flow graph, different subparts such as the fronts and the backs of shirts need to merge at certain points. Such a merge is called an and-merge because further progress of the bundle depends on the availability of all the necessary subparts. Figure 3 is another example of a style flow graph. Bundles from a single buffer can be processed in alternate ways (called alternate paths). The output from these paths goes into a common buffer and continues on. This par­ ticular type of merge is called an or-inerge because a bundle from any of the paths can continue as soon as it appears in the buffer. As can be seen in Figure 2, after bundles from a buffer are processed on alternate workstations there is a “merge” into the next buffer. Such a “merge” is also an or-merge. In general there are many different products or styles being produced simultaneously on the factory floor. Various styles can share buffers. This is called “style intersection”. A style intersection also corre­ sponds to an or-merge.\",\"PeriodicalId\":409883,\"journal\":{\"name\":\"ACM-SE 28\",\"volume\":\"143 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"1990-04-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"2\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"ACM-SE 28\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1145/98949.99143\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"ACM-SE 28","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/98949.99143","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

摘要

近期服装工业车间的计算机模拟是一个有趣的应用。应用程序的复杂性和自然并行性建议采用并行实现。并行化模拟会导致同步问题。对这些问题进行了分析,提出了各种解决方案,并说明了应用中存在的不足或不适用之处。然后提出了一种方法,该方法是对先前发表的方法的改编。这种保守的方法得到了精确的仿真结果。克莱姆森大学(Clemson University)的一名研究人员目前正在开发一种服装厂车间的近期计算机模拟。给定员工分配的输入,新服装零件的到达,包的优先级等(即暂定计划),模拟一天中正在缝制的包的流程,并以图形形式向工厂经理(用户)显示高级性能信息。经理应该能够运行模拟,评估性能指标,如果它们不令人满意,可以在几分钟内将模拟回滚到指定的时间点,并使用新计划重新运行模拟。这种模拟将为实现准时制制造提供有价值的工具。在一个典型的工厂里,有数百台机器,数百名员工和数千个装着服装零件的包。应用程序的复杂性、大量输入数据、大量度量、快速仿真需求和应用程序的自然并行性强烈建议并行进行仿真。不幸的是,在通用并行仿真中可能会出现两个同步问题:死锁和无进展。本文描述了计划解决这些问题的方法。只要不为直接商业利益而制作或分发复制,ACM版权声明和出版物的标题及其名称出现,并注明复制是由美国计算机协会授权的,则允许对本材料的全部或部分进行复制。以其他方式复制,或重新发布,需要费用和/或特定的任务。第2节描述了服装制造环境。第3节描述了应用程序的并行化。第4节描述了由并行仿真引起的同步问题。第5节提供了文献中给出的解决问题的方法的调查。第6节描述了为此实现选择的方法。在工厂车间,服装零件束按照样式流程图进行加工,其示例如图1所示。图中的矩形表示有工作等待操作执行的缓冲区。操作的例子是“设置口袋”和“附加按钮”。在缓冲区和要执行的操作类型之间存在一对一的对应关系。缝纫机上的员工从指定的缓冲区中抽出包,处理它们,然后在样式流程图中将它们发送到下一个缓冲区。职员和机器的组合,用图中的圆圈表示,称为工作站。通常,在任何给定的缓冲区前面可能有多个工作站,如图2所示。在样式流图中,不同的子部件(如衬衫的正面和背面)需要在某些点合并。这样的合并称为and-merge,因为bundle的进一步进展取决于所有必要子部件的可用性。图3是样式流图的另一个示例。来自单个缓冲区的包可以以其他方式处理(称为备用路径)。这些路径的输出进入一个公共缓冲区并继续。这种特殊类型的合并称为or- inge,因为来自任何路径的包只要出现在缓冲区中就可以继续。如图2所示,在备用工作站上处理来自缓冲区的包后,将“合并”到下一个缓冲区。这样的“合并”也是一个“或合并”。一般来说,工厂里同时生产着许多不同的产品或款式。各种样式可以共享缓冲区。这就是所谓的“风格交集”。样式交集也对应于或合并。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Approaches to solving synchronization problems in parallel simulation of an apparel plant
A near-term computer simulation of an apparel in­ dustry shop-floor is an application of interest. The complexity and the natural parallelism of the applica­ tion suggest a parallel implementation. Parallelizing a simulation causes synchronization problems. These problems are analyzed, various solutions presented and short-comings or inapplicability to the application de­ scribed. A method which is an adaptation of a previ­ ously published method is then presented. This con­ servative method produces an accurate simulation. I n tr o d u c t io n Clemson University is currently developing a nearterm computer simulation of an apparel factory floor. Given inputs of employee assignments, arrival of new bundles of garment parts, priorities of bundles, etc. (i.e. a tentative plan), the flow of bundles being sewn during the course of a day is simulated and high-level performance information in the form of graphics is dis­ played to the plant manager (the user). The manager should be able to run the simulation, evaluate the per­ formance metrics and in case they are not satisfactory, roll-back the simulation to a specified point in time and rerun the simulation with a new plan all in a matter of minutes. This simulation will provide a valuable tool for achieving Just-In-Time manufacturing. In a typical plant, there are hundreds of ma­ chines, hundreds of employees and thousands of bun­ dles containing garment parts. The complexity of the application, large input data, large number of metrics, quick simulation requirement and natural parallelism of the application strongly suggest performing the sim­ ulation in parallel. Unfortunately, in a general-purpose parallel simulation two synchronization problems may occur: deadlock and no-progress. This paper describes the methods planned to address these problems. Peniiinnlon lo copy wllliout fee all or part of this material la granted provided that the copiea are not made or distributed for direct com­ mercial advantage, the ACM copyright notice and the title of llie publication and Its dale appear, and notice ia given that copying ja by pcmtlsaion of llie Association for Computing Machinery. To copy otherwise, or to republish, requires a fee and/or specific per­ mission. Section 2 describes the apparel manufacturing environment. The parallelization of the application is described in Section 3. Section 4 describes the syn­ chronization problems posed by the parallel simula­ tion. A survey of the methods given in the literature to solve the problems is provided in Section 5. The method chosen for this implementation is described in Section 6. T h e A p p a r e l F a c to r y S h o p -F lo o r On the factory floor bundles of garment parts are pro­ cessed according to a style flow graph, an example of which is given in Figure 1. Rectangles in the figure represent buffers which have work waiting for oper­ ations to be performed. Examples of operations are "set pocket” and "attach buttons”. There is a one-toone correspondence between buffers and the type of operation to be performed. Employees at sewing ma­ chines draw bundles from an assigned buffer, process them and send them to the next buffer in the style flow graph. An employee-machine combination, repre­ sented by a circle in the figure, is called a workstation. In general there may be more than one workstation in front of any given buffer as shown in Figure 2. In the style flow graph, different subparts such as the fronts and the backs of shirts need to merge at certain points. Such a merge is called an and-merge because further progress of the bundle depends on the availability of all the necessary subparts. Figure 3 is another example of a style flow graph. Bundles from a single buffer can be processed in alternate ways (called alternate paths). The output from these paths goes into a common buffer and continues on. This par­ ticular type of merge is called an or-inerge because a bundle from any of the paths can continue as soon as it appears in the buffer. As can be seen in Figure 2, after bundles from a buffer are processed on alternate workstations there is a “merge” into the next buffer. Such a “merge” is also an or-merge. In general there are many different products or styles being produced simultaneously on the factory floor. Various styles can share buffers. This is called “style intersection”. A style intersection also corre­ sponds to an or-merge.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信